From: Marco Trevisan (TreviƱo) Date: Tue, 12 Aug 2025 01:59:14 +0000 (+0200) Subject: shell: Use proper path to include girepository headers X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~104^2^2~83 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1132827ce94449e2812dc2339e282423217bbcc6;p=gnome-shell.git shell: Use proper path to include girepository headers girepository-2.0 headers are inside ${PREFIX}/include/glib-2.0/girepository and the pkg-config file provides the glib-2.0 subpath as include directory, so we are required to use the full header path, or we may not be able to find them. This is triggered a build failure in debian (with clean setup where no libgirepository-1.0 was installed): ../src/shell-global.c:19:10: fatal error: girepository.h: No such file or directory 19 | #include Part-of: --- diff --git a/src/shell-global.c b/src/shell-global.c index c941701b6..9a6de28e9 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include #include diff --git a/src/shell-tray-manager.c b/src/shell-tray-manager.c index ddbd17608..5455211f2 100644 --- a/src/shell-tray-manager.c +++ b/src/shell-tray-manager.c @@ -3,7 +3,7 @@ #include "config.h" #include -#include +#include #include #include "shell-tray-manager.h"